package cn.wolfcode.tieba.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @author 王金龙
 * @date 2021/2/6 19:27
 */
@Getter
@Setter
public class Tiezi  {
    private Long id;
    private Long tiebaId;
    private String title;
    private Long authorId;
    private Integer replynum;
    private String firstreply;
    private Long lastReplyId;
    @TableField(exist = false)
    private User author;
    @TableField(exist = false)
    private User replyUser;
    private Date createTime;
    private Date lastReplyTime;
}
